Skip to content

yazi: add option for {file}$XDG_CONFIG_HOME/yazi/vfs.toml#9104

Open
rachitvrma wants to merge 4 commits intonix-community:masterfrom
rachitvrma:add/yazi-vfs
Open

yazi: add option for {file}$XDG_CONFIG_HOME/yazi/vfs.toml#9104
rachitvrma wants to merge 4 commits intonix-community:masterfrom
rachitvrma:add/yazi-vfs

Conversation

@rachitvrma
Copy link
Copy Markdown

@rachitvrma rachitvrma commented Apr 14, 2026

Add option to configure the vfs.toml file in yazi
See https://yazi-rs.github.io/docs/configuration/vfs for more details

Description

This module adds the vfs option to yazi, that now generates a vfs.toml file in $XDG_CONFIG_HOME/yazi and allow connecting with virtual file system.

Checklist

  • Change is backwards compatible.

  • Code formatted with nix fmt or
    nix-shell -A dev --run treefmt.

  • Code tested through nix run .#tests -- test-all or
    nix-shell --pure tests -A run.all.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    
  • If this PR adds an exciting new feature or contains a breaking change.

    • Generate a news entry. See News

@eljamm
@khaneliman
@XYenon

run `nix fmt` after second change in news file
Comment on lines +1 to +6
{
time = "2026-04-14T12:49:27+00:00";
# condition = pkgs.stdenv.hostPlatform.isLinux;
# condition = config.programs.neovim.enable;
condition = true;
# if behavior changed, explain how to restore previous behavior.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{
time = "2026-04-14T12:49:27+00:00";
# condition = pkgs.stdenv.hostPlatform.isLinux;
# condition = config.programs.neovim.enable;
condition = true;
# if behavior changed, explain how to restore previous behavior.
{config, ...}: {
time = "2026-04-14T12:49:27+00:00";
condition = config.programs.yazi.enable;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants